package com.example.shengyin.dao;

import com.example.shengyin.entity.Admin;
import com.example.shengyin.entity.Article;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.sql.Timestamp;
import java.util.List;

/**
 * AdminMapper接口
 * 
 * @author ruoyi
 * @date 2023-07-29
 */
@Service
public interface CompanyNewsMapper
{
    public Article select(@Param("id")Long id);
    public List<Article> list(@Param("pagestart")int pagestart, @Param("limit")int limit);
    public int count();
    public int insert(Article dAdmin);
    public int update(Article dAdmin);
    public int delete(@Param("id")int id);
    public int deleteByIds(@Param("ids")String ids);
}
